package com.hyou.sc.feign.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

import com.hyou.springboot.annotation.enables.EnableFormValidatorAspect;
import com.hyou.springboot.handler.exception.GlobalExceptionHandler;

/**
 * 权限模块-Feign
 * 
 * @author FengChangshuo
 * @version 1.0.0 2018-04-27 10:17:45 初始创建
 */
@EnableDiscoveryClient
@EnableFeignClients
@EnableHystrix
@EnableFormValidatorAspect
@SpringBootApplication(scanBasePackages = "com.hyou.sc.feign.auth",
    scanBasePackageClasses = GlobalExceptionHandler.class)
public class FeignAuthApplication {
    
    public static void main(String[] args) {
        SpringApplication.run(FeignAuthApplication.class, args);
    }
    
}
